Do baked goods sold to a coffee shop have to be an original recipe?

No, they can be a recipe that you found in a cook book, a recipe obtained from a friend or relative, one you found in a newspaper or magazine, etc. You do have to be the one that does the actual baking, though, if you claim the product as yours. And you cannot claim it to be your own original recipe.