Seems to be a little of a mystery. Does the engine lack power? Some of the suggested problems in the Haynes Manual are
Incorrect timing - probably not because it goes away when the engine is warm
Incorrect spark plug gap
Faulty fuel system
Emission control system fault
Compression not correct in one or more cylinder
Anyway, hope this helps a little