The 36-year-old started his first game for several months and scored against Napoli on Sunday.
“I have made a pact with (Adriano, vice-president) Galliani to stay longer in Milan,” he said. “For this shirt I would do anything and for my part I always try to make myself ready.
“I am happy to have returned to playing from the start, I tried to exploit all the assists from my team-mates to the best of my abilities.
“I am satisfied because physically I am well, it was a long time that I hadn’t played, but I have still always felt great affection around me.”