Shrek 2 was the highest-grossing non-Disney animated film globally until Despicable Me was released .
Shrek 2 remained the highest-grossing animated film worldwide until the release of Toy Story 3 ( 2010 ) , remained the highest-grossing non-Disney animated film worldwide until the release of Despicable Me 2 ( 2013 ) and held the record for the highest-grossing animated film at the North American box office until the release of Finding Dory ( 2016 ) and remains the highest-grossing non-Disney animated film at this box office .
Shrek 2