As a business owner, you do not have an absolute claim to that money. Your employees have a claim upon you to pay a just wage, and so you could not take their money and give it to charity.
Were it not for your employees, your business could not run or generate any money whatsoever, so there is the basic fact that it is not, in any case, all your money.
Secondly, if you offer someone a job, you are morally required to pay them a just wage. If you cannot afford to run a business and pay a just wage, then you need to take a better look at your business model. We do not cry foul if a business fails because of conditions such as a lack of demand for it’s products. Paying employees a just wage is as necessary condition of running a business as any other economic condition is.
What you may do is donate a portion of the profits to a charity, provided it does not harm your business or prevent you from paying out a just wage (many companies give to charity regularly). You may also, of course, give any money that you personally have earned (that is, from your salary as specified, not from general business funds which belong to the business and not to you) to charity.