The incredible thing about this is that Deathly Hallows Part 2 is the first of the Harry Potter franchise to manage this, the 3D tax clearly helping to bring it over the magic figure, previous to this the closest was the first film so it's taken the entire series to beat the first films gross.
So far this year 3 films have taken over a billion, one more than last year and the most is a single calendar year, it may be no surprise then that all 3 of these films are presented in 3D and thus have the extra charge, although Pirates of The Caribbean reportedly has had a higher box office return in 2D.