<Tr> <Th> Budget </Th> <Td> Total (4 films) $80 million </Td> </Tr> <Tr> <Th> Box office </Th> <Td> Total (3 films) $225,230,068 </Td> </Tr> <P> Diary of a Wimpy Kid is a series of films based on the series of books, Diary of a Wimpy Kid by Jeff Kinney . The series consists of four films: Diary of a Wimpy Kid (2010), Diary of a Wimpy Kid: Rodrick Rules (2011), Diary of a Wimpy Kid: Dog Days (2012) and the latest fourth film Diary of a Wimpy Kid: The Long Haul (2017). </P> <P> Diary of a Wimpy Kid was released March 19, 2010, as it moved up from a previously scheduled April 2 release date . Principal production began on September 21, 2009 and was completed on October 16, 2009 . The film was directed by Thor Freudenthal and starred Zachary Gordon as Greg Heffley, Robert Capron as Rowley Jefferson, Rachael Harris as Susan Heffley, Steve Zahn as Frank Heffley, Devon Bostick as Rodrick Heffley, Connor and Owen Fielding as Manny Heffley, Chloë Grace Moretz as Angie Steadman, Grayson Russell as Fregley, Laine MacNeil as Patty Farrell, and Karan Brar as Chirag Gupta . It is the only film in the series to be directed by Freudenthal . The Original Score for the movie was composed by Theodore Shapiro . </P>

How many movies did they make of diary of a wimpy kid