Use your chi attack continuously (hold O until fully charged) run around charging and attacking the boss with it. Hold square while being attacked by a boss.