a) methylation of N-(5-acetyl-2-fluorophenyl)-N-acetamide (IV) with a methyl sulfonate, b) reaction of the resulting compound (VI) with NNDMF-DMA, and c) reaction of the resulting compound (I) with (5-amino-1H-pirazol-4-yl)thiophen-2-yl-methanone (III) in glacial acetic acid. The present invention also relates to new intermediate (VI).