The Matrix Reloaded (3,603)"Shrek 2" had a distinct advantage because it opened a record number of theaters -- 4,163 screens.
Spiderman (3,615)
The Passion of the Christ (3,043)
The Return of the King (3,703)
Attack of the Clones (3,161)
The Phantom Menace (2,970)
Seeing as how Shrek 2 has significantly more than any of the other top blockbuster openings, I would agree that is an advantage when comparing total gross revenue. However Shrek 2's average revenue per theater is as much as 25% lower than the others listed above.
Still though, it is the best gross numbers for any animated movie.