Serbian teenager Novak Djokovic beat Richard Gasquet 2-1 (7-6, 0-6, 6-1) in the final match of the Estoril Open in Portugal.