You should try to obtain this while playing through the 50cc class since it's the easiest. There are 4 cups with each 3 tracks so 12 tracks in total, which are:
Wind Cup
Shreks Swamp
Madagascar
Dragon Island
Cloud Cup
Far Far away
New York City Zoo
Gallaxhar's Spaceship
Sun Cup
Africa
Island of Berk
Dragons Keep
Moon Cup
Shreks Swamp Night
Island of Berk Night
Africa Night