On the flip side of the book versus movie appearances, the Mojito is one of the very few to be on the big screen and not in writing.
This happens very late in the movies (2002's Die Another Day) and is a possible reflection of the popularity of the cocktail at the time of production. It was a fitting choice for the Cuban setting as well.