The CSS files should regenerate. As long as you didn't delete the other folders and .json file, all the files in the assets folder auto-regenerate.
If something isn't, that's a sign of a deeper issue. Can you look in your server logs to see what the 500 error says in detail?