Because he didn't have the best overall lowest time for all stages, just won for that particular day. The person with the lowest overall time gets the yellow jersey. The first 25 riders get points as they cross the finish line, and the one who comes across first gets the most points (sprinter, that is). At the end of the race, it's total points, not total time, that determines who wins the jersey.
Koffee