I just found out that the whole problem is coming for using the 'Latex' interpreter in legend and in axes.
When I remove this interpreter then the graph is correctly created as a .eps file.
Maybe any ideas of why this problem is happening?
Regards,
Alberto