Take another look at the original sentence:
You wanted to fix it this way:
Using a comma and a coordinating conjunction like but is a perfectly good way to join two main clauses. You must be careful, though. But shows contrast. In the example above, no contrast exists, making but an illogical choice.
You might want to consult the rules for fixing comma splices and fused sentences.