The second law applies only to closed systems - the earth is not a closed system. In order to decrease entropy, you apply energy, which we get from the big hot thing you see in the daytime sky. ;)
Is the solar system a closed system? How about the Milky Way? How about this constellation? How about the universe?
Where did that big hot thing in sky come from?